package pl.prv.polanie.client.dto;

import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * SubjectDTO entity. @author MyEclipse Persistence Tools
 */

public class CSSubjectDTO extends Object implements IsSerializable, ICSDTO {


    // Fields    

     private long id;
     private long subjectTypeID;
     private long subjectNameID;

    // Constructors

    /** default constructor */
    public CSSubjectDTO() {
    }

    
    
    
    public CSSubjectDTO(long id, long subjectTypeID, long subjectNameID) {
		super();
		this.id = id;
		this.subjectTypeID = subjectTypeID;
		this.subjectNameID = subjectNameID;
	}




	/** full constructor */
    

    // Property accessors

    public long getId() {
        return this.id;
    }
    
    public void setId(long id) {
        this.id = id;
    }

    
	//@Override
	public String toString() {
		String result = "" +
		"[ " + CSSubjectDTO.class + "]" +
		"subjectNameID: " + subjectNameID + 
		", subjectTypeID: " + subjectTypeID
		;
		return result;
	}




	public long getSubjectTypeID() {
		return subjectTypeID;
	}




	public void setSubjectTypeID(long subjectTypeID) {
		this.subjectTypeID = subjectTypeID;
	}




	public long getSubjectNameID() {
		return subjectNameID;
	}




	public void setSubjectNameID(long subjectNameID) {
		this.subjectNameID = subjectNameID;
	}
	
	
   
}